package com.yunhe.xyxxgl.mode;

/**
 * Created by Administrator on 2017/8/8 0008.
 */
public class User {
    public static final String TYPE_ADMIN = "管理员";
    public static final String TYPE_TEACHER = "讲师";
    public static final int TYPE_TEACHER_INT = 1;
    public static final int TYPE_ADMIN_INT = 2;

    private String id;
    private String userName;
    private String passWord;
    private String realName;
    private String type;

    public User() {
    }

    public User(String id, String userName, String passWord, String realName, String type) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.realName = realName;
        this.type = type;
    }

    public User(String userName, String type) {
        this(null,userName,null,null,type);
    }

    public String getId() {
        return id;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public String getRealName() {
        return realName;
    }

    public String getType() {
        return type;
    }
}
